package pojo;

public class Industry {

    private int industryNo;

    private String industryName;

    private int parentId;

    private String parentName;

    public Industry() {
    }

    public int getIndustryNo() {
        return industryNo;
    }

    public void setIndustryNo(int industryNo) {
        this.industryNo = industryNo;
    }

    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    @Override
    public String toString() {
        return "Industry{" +
                "industryNo=" + industryNo +
                ", industryName='" + industryName + '\'' +
                ", parentId=" + parentId +
                ", parentName='" + parentName + '\'' +
                '}';
    }
}
